<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String mr="123";
String mrsoft="456";
request.setCharacterEncoding("utf-8");
String username=request.getParameter("username");
String pwd=request.getParameter("pwd");
if(mr.equals(username) && mrsoft.equals(pwd)){
	out.print("<script language='javascript'>alert('登录成功！');window.location.href='ulmain.jsp';</script>");
}else{
	response.sendRedirect("ulerror.jsp");
}
%>